﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mijiaxueche.weixin.help
{
    public class WxSendMessage
    {
        private void Main()
        {
            Console.Title = "微信推送消息";
            //Console.ReadKey();
            //string text = "\"url\":\"www.zrongy.com\",\"data\":{\"first\": {\"value\":\"你好,你投资的借款标还款了！\",\"color\":\"#173177\"},"
            //    + "\"keyword1\":{\"value\":\"融20160311102\",\"color\":\"#173177\"}," + "\"keyword2\": {\"value\":\"39.8元\",\"color\":\"#173177\"},"
            //    + "\"keyword3\": {\"value\":\"2016-03-11 13:33\",\"color\":\"#173177\"},"
            //    + "\"remark\":{\"value\":\"详情请登录平台会员中心查看！\",\"color\":\"#173177\"}}";
            //int i = new Send().SendTemplate("oVWYEs4WzxbhQ7QJ6YqH_7-Pekbo", text, "NSuWsCMHBy2Rhf1nHHY-X1ZXDmtHt6aW5m2Fzmo5_9k");
            //Console.WriteLine(i);
            //Console.ReadKey();

            while (true)
            {
                System.Threading.Thread.Sleep(1000 * 10);
            }
        }
    }
}
